/**
 * Copyright(C): CETC-32
 * @Description: 数据管理目录数据库管理实体操作
 * @author: youqing
 * @version: 1.0
 * @date: 2020/9/11 10:55
 * 更改描述：
 */
package com.cetc32.dh.mybatis;

import com.cetc32.dh.entity.DataMenu;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;

/**
 * @Title: DataMenuMapper
 * @Description:
 * @author: youqing
 * @version: 1.0
 * @date: 2020/11/21 11:19
 */
@Repository
public interface DataMenuMapper extends Mapper<DataMenu> {

    public Integer countAll();

    public Integer insertOne(DataMenu dataMenu);

    public Integer updateById(DataMenu dataMenu);

    public DataMenu queryById(Long id);

    public  Integer deleteById(Long id);

    public DataMenu queryByPid(Long pid);

    public List<DataMenu>  selectAll();

    public List<DataMenu> queryByPIdSatisfyId(Long id);
}